package com.fan.admin.service.impl;

import com.fan.admin.dao.CollegeInfoMapper;
import com.fan.admin.service.CollegeInfoService;
import com.fan.commons.pojo.CollegeInfo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author fan
 * @date 2021/2/13
 */
@Service
public class CollegeInfoServiceImpl implements CollegeInfoService {

	@Autowired
	private CollegeInfoMapper collegeInfoMapper;

	@Override
	public int insertCollegeInfo(CollegeInfo collegeInfo) {
		return collegeInfoMapper.insertCollegeInfo(collegeInfo);
	}

	@Override
	public List<CollegeInfo> queryCollegeInfo() {
		return collegeInfoMapper.queryCollegeInfo();
	}


}
